﻿#region
/*******************************************************************************
** File Name:		    IAdminUserRightService.cs
** Creator:		        chao.jiang 
** EMail:               chao.jiang 
** Create date:	        
** Latest Modifier:
** Latest Modify date:
** Description:		    
** Modify History:
**
** Code Review:
**
** Version number:       1.0.0
*********************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Text;
using Phoenix.Entity;
using Phoenix.Service.Model;

namespace Phoenix.Service.Contracts
{
    public interface IAdminUserRightService 
    {
        #region  Auto Generation
        
        void AddAdminUserRight(AdminUserRightModel model );

		void UpdateByAdminUserRightID (AdminUserRightModel model );

		void DeleteByAdminUserRightID (System.Int32 adminUserRightID );
		 
        AdminUserRightModel GetByAdminUserRightID (System.Int32 adminUserRightID );
        

		#endregion

        IList<AdminUserRightModel> GetByUserID(int userID);

        Dictionary<int, int> GetRightIDs(int userID);
    }
}